#ifndef _MSIC__H__
#define _MSIC__H__

struct PlayerCombatData;
class CombatDataDef;
class MonsterInfo;
struct CardDef;
struct HeroCardDef;
namespace Util
{
	bool  CreateRandomCombatData(PlayerCombatData& rData,const std::string& sName,int32 iFace);
	bool  SetupCombatData(PlayerCombatData& rData,const CombatDataDef * pDef,const std::string& sName,int32 iFace);
	bool  GenerateCombatDataFromMonsterInfo(const MonsterInfo& monster,PlayerCombatData& rData);
	int32 CaculateCombatPower(const PlayerCombatData& rData);
	uint32 CalCardCombatPower(const	 CardDef * pDef);
	uint32 CalHeroCombatPower(const HeroCardDef * pHeroDef,int32 iLvl,int32 iHeroSkill,std::vector<int32>& vInnateSkills);
}
#endif